Remove invalid uom from mqtt tests (#86004)

This commit is contained in:
epenet 2023-01-16 14:51:35 +01:00 committed by GitHub
parent 1a8933d59d
commit bcef0d66ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}",
} }
} }