FINALLY got around to also showing RMS values. Took some beating head against the desk to figure out the Regex and how the YAML linter doesn't like parsing characters in regex expressions, it is done.
The below templates will strip (for example) "RA: 0.15 (0.42")" down to 0.42
- name: "Total RMS" unique_id: lqasWp87B8bxg2b icon: mdi:chart-bell-curve state_topic: "Astro/NINA/image/metadata" value_template: >- {{ value_json.ImageMetaData.Image.RecordedRMS.TotalText | replace ('Tot: ','') | regex_findall_index("\((\d*\.\d*)") | float }} unit_of_measurement: '"' - name: "RA RMS" unique_id: SrOKnMc14z27wF2 icon: mdi:arrow-left-top state_topic: "Astro/NINA/image/metadata" value_template: >- {{ value_json.ImageMetaData.Image.RecordedRMS.RAText | replace ('RA: ','') | regex_findall_index("\((\d*\.\d*)") | replace ('"','') | float }} unit_of_measurement: '"' - name: "Dec RMS" unique_id: YsU1rt89dKtzIco icon: mdi:arrow-oscillating state_topic: "Astro/NINA/image/metadata" value_template: >- {{ value_json.ImageMetaData.Image.RecordedRMS.DecText | replace ('Dec: ','') | regex_findall_index("\((\d*\.\d*)") | float }} unit_of_measurement: '"'
Can you post your yaml for the Clear Outside webpage embed? I've tried copying the code from their website, but it ends up displaying one of my entity switches (very weird).