Add missing Weheat temperature sensors #218436
ci.yaml
on: pull_request
Collect information & changes data
14s
Matrix: Prepare dependencies
Matrix: lint-hadolint
Check hassfest
38s
Check all requirements
18s
Check mypy
24s
Matrix: prepare-pytest-full
Audit licenses
0s
Check pylint
22s
Check pylint on tests
25s
Check ruff-format
10s
Check ruff
12s
Check other linters
23s
Matrix: pytest-full
Matrix: pytest-mariadb
Matrix: pytest-partial
Matrix: pytest-postgres
Upload test coverage to Codecov (partial suite)
0s
Upload test coverage to Codecov (full suite)
0s
Annotations
2 errors
Run tests Python 3.12 (weheat):
tests/components/weheat/test_sensor.py#L34
test_all_entities
AssertionError: assert [+ received] == [- snapshot]
Snapshot 'test_all_entities[sensor.test_model_output_power-entry]' does not exist!
+ EntityRegistryEntrySnapshot({
+ 'aliases': set({
+ }),
+ 'area_id': None,
+ 'capabilities': dict({
+ 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
+ }),
+ 'config_entry_id': <ANY>,
+ 'device_class': None,
+ 'device_id': <ANY>,
+ 'disabled_by': None,
+ 'domain': 'sensor',
+ 'entity_category': None,
+ 'entity_id': 'sensor.test_model_output_power',
+ 'has_entity_name': True,
+ 'hidden_by': None,
+ 'icon': None,
+ 'id': <ANY>,
+ 'labels': set({
+ }),
+ 'name': None,
+ 'options': dict({
+ 'sensor': dict({
+ 'suggested_display_precision': 0,
+ }),
+ }),
+ 'original_device_class': <SensorDeviceClass.POWER: 'power'>,
+ 'original_icon': None,
+ 'original_name': 'Output power',
+ 'platform': 'weheat',
+ 'previous_unique_id': None,
+ 'supported_features': 0,
+ 'translation_key': 'power_output',
+ 'unique_id': '0000-1111-2222-3333_power_output',
+ 'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
+ })
|
Run tests Python 3.12 (weheat)
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pytest-218436-3.12-weheat
|
2.93 KB |
|