The ability to write a HEX value to the payload field for the TCP sensor is badly lacking.
Is there any way to send TCP packet whith payload fild contains \0x13\0x13\0x00\0x01
in hex format, not string?
For example like this:
sensor:
- platform: tcp
name: TESTING_TCP
host: 192.168.74.48
port: 20105
payload: "\x13\x13\x00\x01"