pylint-dev / pylint

It's not just a linter that annoys you!
https://pylint.readthedocs.io/en/latest/
GNU General Public License v2.0
5.32k stars 1.14k forks source link

Remove obsolete comment from ASTWalker.walk #9916

Closed correctmost closed 2 months ago

correctmost commented 2 months ago

Type of Changes

Type
:scroll: Docs

Description

The related code was removed in 98c887de0:

https://github.com/pylint-dev/pylint/commit/98c887de000457ea084d799f16dbb564975c8aca#diff-ba25626db7fb419aa5d731ec1abd5d10f2e4236aa04167669429e7c040832713L921-L925

github-actions[bot] commented 2 months ago

🤖 Effect of this PR on checked open source code: 🤖

Effect on home-assistant: The following messages are now emitted:

1) too-many-lines: *Too many lines in module (1679/1000)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/const.py#L1 2) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L57 3) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L63 4) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L71 5) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L77 6) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L89 7) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L98 8) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L107 9) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/binary_sensor.py#L120 10) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L236 11) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L245 12) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L254 13) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L263 14) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L272 15) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L282 16) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L291 17) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L300 18) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L308 19) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L317 20) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/switch.py#L326 21) too-many-lines: *Too many lines in module (1024/1000)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L1 22) too-complex: *'async_setup_entry' is too complex. The McCabe rating is 18* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L754 23) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L163 24) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L163 25) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L163 26) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L163 27) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L169 28) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L169 29) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L169 30) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L169 31) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L175 32) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L175 33) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L175 34) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L175 35) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L181 36) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L181 37) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L181 38) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L181 39) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 40) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 41) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 42) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 43) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 44) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L187 45) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 46) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 47) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 48) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 49) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 50) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L195 51) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 52) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 53) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 54) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 55) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 56) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L203 57) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 58) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 59) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 60) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 61) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 62) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L211 63) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 64) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 65) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 66) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 67) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 68) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L219 69) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 70) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 71) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 72) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 73) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 74) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L227 75) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 76) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 77) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 78) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 79) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 80) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 81) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 82) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L235 83) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L245 84) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L245 85) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L245 86) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L245 87) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L251 88) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L251 89) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L251 90) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L251 91) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L257 92) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L257 93) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L257 94) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L257 95) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L257 96) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L264 97) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L264 98) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L264 99) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L264 100) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L264 101) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L271 102) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L271 103) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L271 104) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L271 105) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L277 106) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L277 107) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L277 108) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L277 109) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L277 110) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L284 111) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L284 112) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L284 113) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L284 114) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 115) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 116) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 117) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 118) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 119) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L290 120) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 121) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 122) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 123) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 124) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 125) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 126) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L299 127) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 128) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 129) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 130) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 131) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 132) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 133) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L308 134) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 135) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 136) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 137) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 138) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 139) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L317 140) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 141) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 142) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 143) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 144) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 145) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 146) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L326 147) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 148) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 149) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 150) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 151) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 152) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L335 153) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 154) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 155) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 156) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 157) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 158) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 159) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L344 160) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L353 161) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L353 162) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L353 163) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L353 164) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 165) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 166) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 167) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 168) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 169) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 170) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L359 171) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L368 172) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L368 173) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L368 174) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L368 175) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L368 176) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 177) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 178) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 179) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 180) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 181) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L580 182) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 183) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 184) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 185) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 186) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 187) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L589 188) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L598 189) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L598 190) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L598 191) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L598 192) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L598 193) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L606 194) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L606 195) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L606 196) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L606 197) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L606 198) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 199) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 200) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 201) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 202) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 203) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L614 204) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L623 205) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L623 206) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L623 207) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L623 208) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L623 209) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 210) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 211) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 212) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 213) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 214) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L631 215) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L640 216) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L640 217) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L640 218) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L640 219) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L640 220) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 221) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 222) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 223) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 224) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 225) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 226) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L648 227) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 228) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 229) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 230) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 231) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 232) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L658 233) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 234) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 235) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 236) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 237) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 238) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 239) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L667 240) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 241) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 242) unexpected-keyword-arg: *Unexpected keyword argument 'state_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 243) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 244) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 245) unexpected-keyword-arg: *Unexpected keyword argument 'entity_registry_enabled_default' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 246) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L677 247) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 248) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 249) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 250) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 251) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 252) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L687 253) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 254) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 255) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 256) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 257) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 258) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L696 259) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 260) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 261) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 262) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 263) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 264) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L705 265) unexpected-keyword-arg: *Unexpected keyword argument 'native_unit_of_measurement' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 266) unexpected-keyword-arg: *Unexpected keyword argument 'icon' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 267) unexpected-keyword-arg: *Unexpected keyword argument 'device_class' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 268) unexpected-keyword-arg: *Unexpected keyword argument 'key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 269) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 270) unexpected-keyword-arg: *Unexpected keyword argument 'entity_category' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L714 271) too-many-locals: *Too many local variables (17/15)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L754 272) too-many-branches: *Too many branches (18/12)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L754 273) too-many-arguments: *Too many arguments (6/5)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L854 274) too-many-positional-arguments: *Too many positional arguments (6/5)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L854 275) consider-using-assignment-expr: *Use 'if (native_value := self._determine_native_value()) is not None:' instead* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L878 276) consider-ternary-expression: *Consider rewriting as a ternary expression* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L887 277) too-many-arguments: *Too many arguments (6/5)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L911 278) too-many-positional-arguments: *Too many positional arguments (6/5)* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L911 279) too-many-try-statements: *try clause contains 5 statements, expected at most 1* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L946 280) too-many-try-statements: *try clause contains 2 statements, expected at most 1* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/sensor.py#L1014 281) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/button.py#L52 282) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github.com/home-assistant/core/blob/b9bd8f6b34e82343ce66e26bb5f583c0f68e0b61/homeassistant/components/xiaomi_miio/button.py#L60 283) unexpected-keyword-arg: *Unexpected keyword argument 'translation_key' in constructor call* https://github... *This comment was truncated because GitHub allows only 65536 characters in a comment.* *This comment was generated for commit 7a79ff1318135c8a4827be4b5d20cf57e8940628*