And for you question: You can just create 2 sensors each subscribed to the same MQTT message and using the if value_json.idx == 61 for the first one and then if value_json.idx == 65 for the second sensor. No need for the else statement, that way you can specify what the value is. Temp vs Humidity