Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions homeassistant/components/nobo_hub/quality_scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@ rules:
docs-use-cases: todo
dynamic-devices: todo
entity-category: todo
entity-device-class:
status: todo
comment: >
Custom device class on global override select being dropped in
PR #170135.
entity-device-class: done
entity-disabled-by-default: todo
entity-translations: todo
exception-translations: done
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/nobo_hub/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class NoboGlobalSelector(NoboBaseEntity, SelectEntity):
"""Global override selector for Nobø Ecohub."""

_attr_translation_key = "global_override"
_attr_device_class = "nobo_hub__override"
_modes = {
nobo.API.OVERRIDE_MODE_NORMAL: "none",
nobo.API.OVERRIDE_MODE_AWAY: "away",
Expand Down
3 changes: 1 addition & 2 deletions tests/components/nobo_hub/snapshots/test_select.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
'object_id_base': 'Global override',
'options': dict({
}),
'original_device_class': 'nobo_hub__override',
'original_device_class': None,
'original_icon': None,
'original_name': 'Global override',
'platform': 'nobo_hub',
Expand All @@ -103,7 +103,6 @@
# name: test_select_entities[select.my_eco_hub_global_override-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'nobo_hub__override',
'friendly_name': 'My Eco Hub Global override',
'options': list([
'none',
Expand Down