I was able to use the info above to created sensors for each item pulled by the API. I created them in the new template format so you can use them in the Energy module.
Sensor.yaml
### Solarman API ###
- platform: rest
resource: https://api.solarmanpv.com/device/v1.0/currentData?appId=xxxxxxxxxxxxxxx&language=en&=
method: POST
name: solarman_invert
scan_interval: 600
headers:
Authorization: bearer yyyyyyyyyyyyyyyyyy
Content-Type: application/json
payload: '{ "deviceSn": "<serial number of my invertor>"}'
json_attributes:
- dataList
value_template: 'OK'
- platform: rest
resource: https://api.solarmanpv.com/device/v1.0/currentData?appId=xxxxxxxxxxxxxxx&language=en&=
method: POST
name: solarman_logger
scan_interval: 600
headers:
Authorization: bearer yyyyyyyyyyyyyyyyyy
Content-Type: application/json
payload: '{ "deviceSn": "<serial number of my logger>"}'
json_attributes:
- dataList
value_template: 'OK'
template.yaml
- sensor:
####### SolarMan Logger ######
- name: "{{ state_attr('sensor.solarman_logger','dataList')[0].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[0].value }}"
unique_id: solarman_logger_sn1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[1].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[1].value }}"
unique_id: solarman_logger_mduv1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[2].name }}"
unit_of_measurement: s
state: "{{ state_attr('sensor.solarman_logger','dataList')[2].value }}"
unique_id: solarman_logger_work_tim1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[3].name }}"
unit_of_measurement: s
state: "{{ state_attr('sensor.solarman_logger','dataList')[3].value }}"
unique_id: solarman_logger_offset_tim1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[4].name }}"
unit_of_measurement: Min
state: "{{ state_attr('sensor.solarman_logger','dataList')[4].value }}"
unique_id: solarman_logger_send_period1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[5].name }}"
unit_of_measurement: s
state: "{{ state_attr('sensor.solarman_logger','dataList')[5].value }}"
unique_id: solarman_logger_collect_period1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[6].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[6].value }}"
unique_id: solarman_logger_max_conn_n1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[7].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[7].value }}"
unique_id: solarman_logger_sgits1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[8].name }}"
unit_of_measurement: s
state: "{{ state_attr('sensor.solarman_logger','dataList')[8].value }}"
unique_id: solarman_logger_hea_f1
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[9].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[9].value }}"
unique_id: solarman_logger_iv_curve
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[10].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[10].value }}"
unique_id: solarman_logger_bath_command
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[11].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[11].value }}"
unique_id: solarman_logger_s_r_u_p
#
- name: "{{ state_attr('sensor.solarman_logger','dataList')[12].name }}"
#unit_of_measurement:
state: "{{ state_attr('sensor.solarman_logger','dataList')[12].value }}"
unique_id: solarman_logger_safi
#
####### SolarMan Invertor ######
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[0].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[0].value }}"
unique_id: solarman_invert_sn1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[1].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[1].value }}"
unique_id: solarman_invert_hwv1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[2].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[2].value }}"
unique_id: solarman_invert_m_s_v
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[3].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[3].value }}"
unique_id: solarman_invert_v_s_v
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[4].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[4].value }}"
unique_id: solarman_invert_s_m_v
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[5].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[5].value }}"
unique_id: solarman_invert_comm_cpu_swv1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[6].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[6].value }}"
unique_id: solarman_invert_dv1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[7].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[7].value }}"
unique_id: solarman_invert_dv2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[8].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[8].value }}"
unique_id: solarman_invert_dc1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[9].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[9].value }}"
unique_id: solarman_invert_dc2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[10].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[10].value }}"
unique_id: solarman_invert_dp1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[11].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[11].value }}"
unique_id: solarman_invert_dp2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[12].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[12].value }}"
unique_id: solarman_invert_av1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[13].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[13].value }}"
unique_id: solarman_invert_av2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[14].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[14].value }}"
unique_id: solarman_invert_av3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[15].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[15].value }}"
unique_id: solarman_invert_ac1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[16].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[16].value }}"
unique_id: solarman_invert_ac2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[17].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[17].value }}"
unique_id: solarman_invert_ac3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[18].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[18].value }}"
unique_id: solarman_invert_t_ac_op
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[19].name }}"
unit_of_measurement: Hz
state: "{{ state_attr('sensor.solarman_invert','dataList')[19].value }}"
unique_id: solarman_invert_a_fo1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[20].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[20].value }}"
unique_id: solarman_invert_vog_o1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[21].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[21].value }}"
unique_id: solarman_invert_vog_o2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[22].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[22].value }}"
unique_id: solarman_invert_vog_o3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[23].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[23].value | float) | round(2) }}"
unique_id: solarman_invert_et_ge0
device_class: energy
state_class: total_increasing
- name: "{{ state_attr('sensor.solarman_invert','dataList')[24].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[24].value }}"
unique_id: solarman_invert_etdy_ge1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[25].name }}"
unit_of_measurement: kW
state: "{{ state_attr('sensor.solarman_invert','dataList')[25].value }}"
unique_id: solarman_invert_actpv
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[26].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[26].value }}"
unique_id: solarman_invert_dcp_c1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[27].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[27].value }}"
unique_id: solarman_invert_dcp_c2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[28].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[28].value }}"
unique_id: solarman_invert_dcp_c3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[29].name }}"
unit_of_measurement: mV
state: "{{ state_attr('sensor.solarman_invert','dataList')[29].value }}"
unique_id: solarman_invert_dcp_v1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[30].name }}"
unit_of_measurement: mV
state: "{{ state_attr('sensor.solarman_invert','dataList')[30].value }}"
unique_id: solarman_invert_dcp_v2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[31].name }}"
unit_of_measurement: mV
state: "{{ state_attr('sensor.solarman_invert','dataList')[31].value }}"
unique_id: solarman_invert_dcp_v3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[32].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[32].value }}"
unique_id: solarman_invert_pcc_ac1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[33].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[33].value }}"
unique_id: solarman_invert_pcc_ac2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[34].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[34].value }}"
unique_id: solarman_invert_pcc_ac3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[35].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[35].value }}"
unique_id: solarman_invert_apo_t_l1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[36].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[36].value }}"
unique_id: solarman_invert_r_p_t
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[37].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[37].value }}"
unique_id: solarman_invert_l_ap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[38].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[38].value }}"
unique_id: solarman_invert_l_ap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[39].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[39].value }}"
unique_id: solarman_invert_l_ap3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[40].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[40].value }}"
unique_id: solarman_invert_st_pg1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[41].name }}"
unit_of_measurement: Hz
state: "{{ state_attr('sensor.solarman_invert','dataList')[41].value }}"
unique_id: solarman_invert_pg_f1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[42].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[42].value }}"
unique_id: solarman_invert_pg_pt1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[43].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[43].value | float) | round(2) }}"
unique_id: solarman_invert_t_gc1
device_class: energy
state_class: total_increasing
- name: "{{ state_attr('sensor.solarman_invert','dataList')[44].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[44].value | float) | round(2)}}"
unique_id: solarman_invert_et_pu1
device_class: energy
state_class: total_increasing
- name: "{{ state_attr('sensor.solarman_invert','dataList')[45].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[45].value }}"
unique_id: solarman_invert_t_gc_tdy1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[46].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[46].value }}"
unique_id: solarman_invert_etdy_pu1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[47].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[47].value }}"
unique_id: solarman_invert_clk1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[48].name }}"
unit_of_measurement: KΩ
state: "{{ state_attr('sensor.solarman_invert','dataList')[48].value }}"
unique_id: solarman_invert_n_iinfo1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[49].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[49].value }}"
unique_id: solarman_invert_v_busneg1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[50].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[50].value }}"
unique_id: solarman_invert_e_cuse1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[51].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[51].value }}"
unique_id: solarman_invert_e_cuse2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[52].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[52].value }}"
unique_id: solarman_invert_e_cuse3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[53].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[53].value }}"
unique_id: solarman_invert_e_puse_t1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[54].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[54].value | float) | round(2)}}"
unique_id: solarman_invert_et_use1
device_class: energy
state_class: total_increasing
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[55].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[55].value }}"
unique_id: solarman_invert_etdy_use1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[56].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[56].value }}"
unique_id: solarman_invert_b_st1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[57].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[57].value }}"
unique_id: solarman_invert_bcid
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[58].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[58].value }}"
unique_id: solarman_invert_bca
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[59].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[59].value }}"
unique_id: solarman_invert_b_p1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[60].name }}"
unit_of_measurement: AH
state: "{{ state_attr('sensor.solarman_invert','dataList')[60].value }}"
unique_id: solarman_invert_bcap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[61].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[61].value }}"
unique_id: solarman_invert_b_hlt_exp1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[62].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[62].value | float) | round(2)}}"
unique_id: solarman_invert_t_cg_n1
device_class: energy
state_class: total_increasing
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[63].name }}"
unit_of_measurement: kWh
state: "{{ (state_attr('sensor.solarman_invert','dataList')[63].value | float) | round(2)}}"
unique_id: solarman_invert_t_dcg_n1
device_class: energy
state_class: total_increasing
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[64].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[64].value }}"
unique_id: solarman_invert_etdy_cg1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[65].name }}"
unit_of_measurement: kWh
state: "{{ state_attr('sensor.solarman_invert','dataList')[65].value }}"
unique_id: solarman_invert_etdy_dcg1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[66].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[66].value }}"
unique_id: solarman_invert_b_typ1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[67].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[67].value }}"
unique_id: solarman_invert_p_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[68].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[68].value }}"
unique_id: solarman_invert_vtr1_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[69].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[69].value }}"
unique_id: solarman_invert_cr1_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[70].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[70].value }}"
unique_id: solarman_invert_soc_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[71].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[71].value }}"
unique_id: solarman_invert_soh_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[72].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[72].value }}"
unique_id: solarman_invert_cycle_t_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[73].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[73].value }}"
unique_id: solarman_invert_t_bap1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[74].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[74].value }}"
unique_id: solarman_invert_p_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[75].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[75].value }}"
unique_id: solarman_invert_vtr_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[76].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[76].value }}"
unique_id: solarman_invert_cr_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[77].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[77].value }}"
unique_id: solarman_invert_soc_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[78].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[78].value }}"
unique_id: solarman_invert_soh_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[79].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[79].value }}"
unique_id: solarman_invert_cycle_t_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[80].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[80].value }}"
unique_id: solarman_invert_t_bap2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[81].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[81].value }}"
unique_id: solarman_invert_bms_s_p0
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[82].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[82].value }}"
unique_id: solarman_invert_bms_s_p1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[83].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[83].value }}"
unique_id: solarman_invert_bms_s_a0
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[84].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[84].value }}"
unique_id: solarman_invert_bms_s_a1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[85].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[85].value }}"
unique_id: solarman_invert_bms_s_t1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[86].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[86].value }}"
unique_id: solarman_invert_t_mdu1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[87].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[87].value }}"
unique_id: solarman_invert_spat
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[88].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[88].value }}"
unique_id: solarman_invert_t_rdt2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[89].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[89].value }}"
unique_id: solarman_invert_systim1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[90].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[90].value }}"
unique_id: solarman_invert_bc1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[91].name }}"
unit_of_measurement: Min
state: "{{ state_attr('sensor.solarman_invert','dataList')[91].value }}"
unique_id: solarman_invert_ge_t_today
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[92].name }}"
unit_of_measurement: Min
state: "{{ state_attr('sensor.solarman_invert','dataList')[92].value }}"
unique_id: solarman_invert_ge_t_total
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[93].name }}"
unit_of_measurement: h
state: "{{ state_attr('sensor.solarman_invert','dataList')[93].value }}"
unique_id: solarman_invert_t_w_hou1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[94].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[94].value }}"
unique_id: solarman_invert_boot_count_down
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[95].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[95].value }}"
unique_id: solarman_invert_bus_v1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[96].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[96].value }}"
unique_id: solarman_invert_v_buspos1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[97].name }}"
unit_of_measurement: W
state: "{{ state_attr('sensor.solarman_invert','dataList')[97].value }}"
unique_id: solarman_invert_arp
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[98].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[98].value }}"
unique_id: solarman_invert_rc
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[99].name }}"
unit_of_measurement: V
state: "{{ state_attr('sensor.solarman_invert','dataList')[99].value }}"
unique_id: solarman_invert_tv
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[100].name }}"
unit_of_measurement: A
state: "{{ state_attr('sensor.solarman_invert','dataList')[100].value }}"
unique_id: solarman_invert_tc
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[101].name }}"
unit_of_measurement: ℃
state: "{{ state_attr('sensor.solarman_invert','dataList')[101].value }}"
unique_id: solarman_invert_cat
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[102].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[102].value }}"
unique_id: solarman_invert_inv_st1
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[103].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[103].value }}"
unique_id: solarman_invert_arc
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[104].name }}"
unit_of_measurement: "%"
state: "{{ state_attr('sensor.solarman_invert','dataList')[104].value }}"
unique_id: solarman_invert_aol
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[105].name }}"
unit_of_measurement: kΩ
state: "{{ state_attr('sensor.solarman_invert','dataList')[105].value }}"
unique_id: solarman_invert_ipv
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[106].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[106].value }}"
unique_id: solarman_invert_ilcl
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[107].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[107].value }}"
unique_id: solarman_invert_dcitv2
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[108].name }}"
unit_of_measurement: mA
state: "{{ state_attr('sensor.solarman_invert','dataList')[108].value }}"
unique_id: solarman_invert_dcitv3
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[109].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[109].value }}"
unique_id: solarman_invert_dci_s
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[110].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[110].value }}"
unique_id: solarman_invert_dci_t
#
- name: "{{ state_attr('sensor.solarman_invert','dataList')[111].name }}"
#unit_of_measurement: null
state: "{{ state_attr('sensor.solarman_invert','dataList')[111].value }}"
unique_id: solarman_invert_dci_f