mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Remove invalid uom from mqtt tests (#86004)
This commit is contained in:
parent
1a8933d59d
commit
bcef0d66ac
@ -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 }}",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user