mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 22:55:10 +02:00
Remove invalid uom from mqtt tests (#86004)
This commit is contained in:
@@ -292,7 +292,6 @@ async def test_setting_sensor_value_via_mqtt_json_message(
|
|||||||
sensor.DOMAIN: {
|
sensor.DOMAIN: {
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"state_topic": "test-topic",
|
"state_topic": "test-topic",
|
||||||
"unit_of_measurement": "fav unit",
|
|
||||||
"value_template": "{{ value_json.val }}",
|
"value_template": "{{ value_json.val }}",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -325,7 +324,6 @@ async def test_setting_sensor_value_via_mqtt_json_message_and_default_current_st
|
|||||||
sensor.DOMAIN: {
|
sensor.DOMAIN: {
|
||||||
"name": "test",
|
"name": "test",
|
||||||
"state_topic": "test-topic",
|
"state_topic": "test-topic",
|
||||||
"unit_of_measurement": "fav unit",
|
|
||||||
"value_template": "{{ value_json.val | is_defined }}-{{ value_json.par }}",
|
"value_template": "{{ value_json.val | is_defined }}-{{ value_json.par }}",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user