* Publish raw rendered mqtt payload as raw for mqtt publish action * Move check out of try block * Only try to eval `bytes` is payload starts with supported string Co-authored-by: Erik Montnemery <erik@montnemery.com> * Improve docst * Add `evaluate_bytes` option to publish action * Rename to `evaluate_payload` * Update homeassistant/components/mqtt/strings.json Co-authored-by: Erik Montnemery <erik@montnemery.com> * Extend test to assert literal_eval is called or not --------- Co-authored-by: Erik Montnemery <erik@montnemery.com> |
||
---|---|---|
.. | ||
__init__.py | ||
conftest.py | ||
test_alarm_control_panel.py | ||
test_binary_sensor.py | ||
test_button.py | ||
test_camera.py | ||
test_client.py | ||
test_climate.py | ||
test_common.py | ||
test_config_flow.py | ||
test_cover.py | ||
test_device_tracker.py | ||
test_device_trigger.py | ||
test_diagnostics.py | ||
test_discovery.py | ||
test_event.py | ||
test_fan.py | ||
test_humidifier.py | ||
test_image.py | ||
test_init.py | ||
test_lawn_mower.py | ||
test_legacy_vacuum.py | ||
test_light.py | ||
test_light_json.py | ||
test_light_template.py | ||
test_lock.py | ||
test_mixins.py | ||
test_notify.py | ||
test_number.py | ||
test_scene.py | ||
test_select.py | ||
test_sensor.py | ||
test_siren.py | ||
test_subscription.py | ||
test_switch.py | ||
test_tag.py | ||
test_text.py | ||
test_trigger.py | ||
test_update.py | ||
test_util.py | ||
test_vacuum.py | ||
test_valve.py | ||
test_water_heater.py |