Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the switched names for the tests MQTT sensor #60630

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/components/mqtt/test_sensor.py
Expand Up @@ -893,7 +893,7 @@ async def test_entity_category(hass, mqtt_mock):
await help_test_entity_category(hass, mqtt_mock, sensor.DOMAIN, DEFAULT_CONFIG)


async def test_value_template_with_entity_id(hass, mqtt_mock):
async def test_value_template_with_raw_data(hass, mqtt_mock):
"""Test processing a raw value via MQTT."""
assert await async_setup_component(
hass,
Expand Down Expand Up @@ -922,7 +922,7 @@ async def test_value_template_with_entity_id(hass, mqtt_mock):
assert state.state == "16"


async def test_value_template_with_raw_data(hass, mqtt_mock):
async def test_value_template_with_entity_id(hass, mqtt_mock):
"""Test the access to attributes in value_template via the entity_id."""
assert await async_setup_component(
hass,
Expand Down