Skip to content

Matter Speaker volume LevelControl #149490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 13 commits into
base: dev
Choose a base branch
from
Prev Previous commit
Next Next commit
Update snapshot
  • Loading branch information
lboue committed Jul 26, 2025
commit 9b8de7e3a18a43297db64478d2855f0ade02e198
115 changes: 115 additions & 0 deletions tests/components/matter/snapshots/test_number.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -2307,3 +2307,118 @@
'state': '4.0',
})
# ---
# name: test_numbers[speaker][number.audiolink_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max': 255,
'min': 0,
'mode': <NumberMode.SLIDER: 'slider'>,
'step': 1,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'number',
'entity_category': None,
'entity_id': 'number.audiolink_none',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': None,
'platform': 'matter',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'speaker_setpoint',
'unique_id': '00000000000004D2-000000000000006B-MatterNodeDevice-1-speaker_setpoint-8-0',
'unit_of_measurement': '%',
})
# ---
# name: test_numbers[speaker][number.audiolink_none-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'AudioLink None',
'max': 255,
'min': 0,
'mode': <NumberMode.SLIDER: 'slider'>,
'step': 1,
'unit_of_measurement': '%',
}),
'context': <ANY>,
'entity_id': 'number.audiolink_none',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '47',
})
# ---
# name: test_numbers[speaker][number.audiolink_on_level-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'max': 255,
'min': 0,
'mode': <NumberMode.BOX: 'box'>,
'step': 1,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'number',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'number.audiolink_on_level',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'On level',
'platform': 'matter',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'on_level',
'unique_id': '00000000000004D2-000000000000006B-MatterNodeDevice-1-on_level-8-17',
'unit_of_measurement': None,
})
# ---
# name: test_numbers[speaker][number.audiolink_on_level-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'AudioLink On level',
'max': 255,
'min': 0,
'mode': <NumberMode.BOX: 'box'>,
'step': 1,
}),
'context': <ANY>,
'entity_id': 'number.audiolink_on_level',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '64',
})
# ---