Mqtt split json data to variables

Please post the correctly-formatted YAML for the sensor you currently have. See here for formatting instructions:

How do you want the two variables recorded? Separate sensors?