diff --git a/components/binary_sensor/rdm6300.rst b/components/binary_sensor/rdm6300.rst index c28dcd754..11b102e6f 100644 --- a/components/binary_sensor/rdm6300.rst +++ b/components/binary_sensor/rdm6300.rst @@ -68,7 +68,7 @@ unsigned integer. then: - mqtt.publish: topic: rdm6300/tag - payload: !lambda 'return uint32_to_string(x);' + payload: !lambda 'return to_string(x);' A tag scanned event can also be sent to the Home Assistant tag component using :ref:`api-homeassistant_tag_scanned_action`. @@ -79,7 +79,7 @@ using :ref:`api-homeassistant_tag_scanned_action`. # ... on_tag: then: - - homeassistant.tag_scanned: !lambda 'return uint32_to_string(x);' + - homeassistant.tag_scanned: !lambda 'return to_string(x);' .. _rdm6300-tag: