It’s good solution for this How to scrap data from Geiger world map (public information about radiation levels)
Currently i have refactored my sensors as below:
template:
- sensor:
- name: geiger_meter_cpm
icon: mdi:radioactive-circle-outline
unique_id: geiger_meter_cpm
unit_of_measurement: "CPM"
state: >
{{ state_attr('sensor.geiger_meter', 'CPM') }}
- name: geiger_meter_acpm
icon: mdi:radioactive-circle-outline
unique_id: geiger_meter_acpm
unit_of_measurement: "ACPM"
state: >
{{ state_attr('sensor.geiger_meter', 'ACPM') }}
- name: geiger_meter_usv
icon: mdi:radioactive-circle-outline
unique_id: geiger_meter_usv
unit_of_measurement: "uSv"
state: >
{{ state_attr('sensor.geiger_meter', 'uSv') }}
sensor:
- platform: rest
icon: mdi:radioactive-circle-outline
name: geiger_meter
unique_id: geiger_meter
scan_interval: 60
value_template: "OK"
resource: http://www.gmcmap.com/historyData-plain.asp?Param_ID=XXXXXX
json_attributes:
- CPM
- ACPM
- uSv
- time