<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
    <title>Re: SofarLoggerESP32u - paste.linuxiarz.pl</title>
    <description>Re: SofarLoggerESP32u - paste.linuxiarz.pl</description>
    <atom:link href="https://paste.linuxiarz.pl/view/rss/8af60299" rel="self" type="application/rss+xml" />
    <link>https://paste.linuxiarz.pl/</link>
    <language>en</language>
<item>
    <title>Re: Re: SofarLoggerESP32u</title>
    <link>https://paste.linuxiarz.pl/view/5c78b888</link>
    <pubDate>Tue, 28 Oct 2025 14:24:59 +0100</pubDate>
    <dc:creator>Rude Agouti</dc:creator>
    <guid isPermaLink="false">https://paste.linuxiarz.pl/view/5c78b888</guid>
    <description><![CDATA[esphome: name: esp32-sofar comment: SofarSolar Logger (Modbus/RS485) esp32: board: esp32dev substitutions: devicename: sofarsolar-logger friendly_name: SofarSolar hostname: esp32-${inverter_short_name}&#8230;]]></description>
    <content:encoded><![CDATA[<div class="yaml" style="font-family:monospace;"><ol><li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">esphome</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>esp32-sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; comment</span><span style="font-weight: bold; color: brown;">: </span>SofarSolar Logger <span class="br0">&#40;</span>Modbus/RS485<span class="br0">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">esp32</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; board</span><span style="font-weight: bold; color: brown;">: </span>esp32dev</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">substitutions</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; devicename</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar-logger</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; friendly_name</span><span style="font-weight: bold; color: brown;">: </span>SofarSolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; hostname</span><span style="font-weight: bold; color: brown;">: </span>esp32-$<span class="br0">&#123;</span>inverter_short_name<span class="br0">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; comment</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Modbus Interface</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; friendly_node_name</span><span style="font-weight: bold; color: brown;">: </span>ESP-Sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; inverter_short_name</span><span style="font-weight: bold; color: brown;">: </span>sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; upper_inverter_short_name</span><span style="font-weight: bold; color: brown;">: </span>Sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; esp_id</span><span style="font-weight: bold; color: brown;">: </span>esp_$<span class="br0">&#123;</span>inverter_short_name<span class="br0">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">external_components</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; - source</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; type</span><span style="font-weight: bold; color: brown;">: </span>git</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; url</span><span style="font-weight: bold; color: brown;">: </span>https://github.com/zdzichu6969/esphome-components</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; components</span><span style="font-weight: bold; color: brown;">: </span><span class="br0">&#91;</span> heapmon <span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; refresh</span><span style="font-weight: bold; color: brown;">: </span>12h</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">wifi</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; ssid</span><span style="font-weight: bold; color: brown;">: </span>garaz</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; password</span><span style="font-weight: bold; color: brown;">: </span>jack2378</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; reboot_timeout</span><span style="font-weight: bold; color: brown;">: </span>300s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; power_save_mode</span><span style="font-weight: bold; color: brown;">: </span><span style="font-weight: bold;">none</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; ap</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; ssid</span><span style="font-weight: bold; color: brown;">: </span>Fallback-AP-$<span class="br0">&#123;</span>hostname<span class="br0">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; password</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;Keh15001&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; ap_timeout</span><span style="font-weight: bold; color: brown;">: </span>300s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">api</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; encryption</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; key</span><span style="font-weight: bold; color: brown;">: </span>Keh15001</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; reboot_timeout</span><span style="font-weight: bold; color: brown;">: </span>0s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">ota</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; password</span><span style="font-weight: bold; color: brown;">: </span>Keh15001</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; safe_mode</span><span style="font-weight: bold; color: brown;">: </span>True</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">mdns</span><span style="font-weight: bold; color: brown;">:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"></span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">captive_portal</span><span style="font-weight: bold; color: brown;">:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"></span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">logger</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; level</span><span style="font-weight: bold; color: brown;">: </span>INFO</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; baud_rate</span><span style="font-weight: bold; color: brown;">: </span>0</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">uart</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>mod_bus</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; tx_pin</span><span style="font-weight: bold; color: brown;">: </span>GPIO17</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; rx_pin</span><span style="font-weight: bold; color: brown;">: </span>GPIO16</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; baud_rate</span><span style="font-weight: bold; color: brown;">: </span>9600</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; stop_bits</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; rx_buffer_size</span><span style="font-weight: bold; color: brown;">: </span>512</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">modbus</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>mod_bus_sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; send_wait_time</span><span style="font-weight: bold; color: brown;">: </span>500ms</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">modbus_controller</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_id</span><span style="font-weight: bold; color: brown;">: </span>mod_bus_sofar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>5s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; setup_priority</span><span style="font-weight: bold; color: brown;">: </span>-10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; command_throttle</span><span style="font-weight: bold; color: brown;">: </span>750ms</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">text_sensor</span><span style="font-weight: bold; color: brown;">:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"></span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>template</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> Uptime <span class="br0">&#40;</span>human readable<span class="br0">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>uptime_human</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:clock-start&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>5s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; entity_category</span><span style="font-weight: bold; color: brown;">: </span>diagnostic</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>version</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> ESPHome Version</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span>_esphome_version</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>wifi_info</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; ip_address</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> IP Address</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span>_ip_address</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span>mdi:ip-network</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Status</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_status</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:information-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0000</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; response_size</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; lambda</span><span style="font-weight: bold; color: brown;">: </span>|-</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; auto z = <span style="color: #CF00CF;">&quot;Unknown&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; char d = data<span class="br0">&#91;</span>item-&gt;offset+1<span class="br0">&#93;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span>d == 0<span class="br0">&#41;</span> z = <span style="color: #CF00CF;">&quot;Wait&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; else if <span class="br0">&#40;</span>d == 1<span class="br0">&#41;</span> z = <span style="color: #CF00CF;">&quot;Check&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; else if <span class="br0">&#40;</span>d == 2<span class="br0">&#41;</span> z = <span style="color: #CF00CF;">&quot;Normal&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; else if <span class="br0">&#40;</span>d == 3<span class="br0">&#41;</span> z = <span style="color: #CF00CF;">&quot;Fault&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; else if <span class="br0">&#40;</span>d == 4<span class="br0">&#41;</span> z = <span style="color: #CF00CF;">&quot;Permanent&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; return <span class="br0">&#123;</span>z<span class="br0">&#125;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Fault Message</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>inverter_fault_message</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alert-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0001</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; response_size</span><span style="font-weight: bold; color: brown;">: </span>10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; lambda</span><span style="font-weight: bold; color: brown;">: </span>|-</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; std::string z = <span style="color: #CF00CF;">&quot;&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; int idx = item-&gt;offset;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>0<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GridOVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GridUVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GridOFP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GridUFP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PVUVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GridLVRT,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserve-ID7,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserve-ID8,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>1<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PVOVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;IpvUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PvConfigSetWrong,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GFCIFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PhaseSequenceFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwBoostOCP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwAcOCP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;AcRmsOCP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>2<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwADFaultIGrid,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwADFaultDCI,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwADFaultVGrid,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;GFCIDeviceFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;MChip_Fault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;HwAuxPowerFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;BusVoltZeroFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;IacRmsUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>3<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;BusUVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;BusOVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;VbusUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;DciOCP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;SwOCPInstant,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;SwBOCPInstant,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID31,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID32,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>4<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID33~40,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>5<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID41~48,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>6<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;ConsistentFault_VGrid,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;ConsistentFault_FGrid,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;ConsistentFault_DCI,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;ConsistentFault_GFCI,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;SpiCommLose,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;SciCommLose,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;RelayTestFail,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PvIsoFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>7<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;OverTempFault_Inv,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;OverTempFault_Boost,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;OverTempFault_Env,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;PEConnectFault,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID61,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID62,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID63,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID64,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>8<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverHwAcOCP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverBusOVP,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverIacRmsUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverIpvUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverVbusUnbalance,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverOCPInstant,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverPvConfigSetWrong,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID72,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; //byte<span class="br0">&#91;</span>9<span class="br0">&#93;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; idx++;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x1<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID73,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x2<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverIPVInstant,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x4<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverWRITEEEPROM,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x8<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverREADEEPROM,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x10<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;unrecoverRelayFail,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x20<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID78,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x40<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID79,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if <span class="br0">&#40;</span><span class="br0">&#40;</span>data<span class="br0">&#91;</span>idx<span class="br0">&#93;</span> &amp; 0x80<span class="br0">&#41;</span> != 0<span class="br0">&#41;</span> z += <span style="color: #CF00CF;">&quot;reserved-ID80,&quot;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; if<span class="br0">&#40;</span>z.length<span class="br0">&#40;</span><span class="br0">&#41;</span> &gt; 0<span class="br0">&#41;</span><span class="br0">&#123;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; z.pop_back<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; return <span class="br0">&#123;</span>z<span class="br0">&#125;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">sensor</span><span style="font-weight: bold; color: brown;">:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"></span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>wifi_signal</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_wifi_signal</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> WiFi Signal</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>30s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:wifi&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>uptime</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_uptime</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> Uptime</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - lambda</span><span style="font-weight: bold; color: brown;">: </span>return x / 60.0;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span>minutes</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:clock-start&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>heapmon &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>heapspace &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> Heapsize</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:memory&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>5s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - throttle</span><span style="font-weight: bold; color: brown;">: </span>30s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; entity_category</span><span style="font-weight: bold; color: brown;">: </span>diagnostic</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC1 Voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_v1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0006</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC1 Current</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_c1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0007</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;A&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;current&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC2 Voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_v2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0008</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC2 Current</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_c2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0009</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;A&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;current&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC1 Power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_power1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000a</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;W&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:solar-power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC2 Power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_power2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000b</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;W&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:solar-power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> AC Power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000c</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;W&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:solar-power-variant-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> AC Reactive Power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_reactive_power</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000d</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;kVar&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:math-cos&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>S_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>10</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L1 Voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_v1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000f</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L2 Voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_v2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0011</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L3 Voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_v3</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0013</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L1 Current</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_c1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0010</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;A&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;current&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L2 Current</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_c2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0012</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;A&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;current&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> L3 Current</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_c3</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0014</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;A&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;current&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> AC Freq</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_ac_freq</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x000e</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;Hz&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:current-ac&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Energy total</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_energy_total</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0015</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;kWh&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;energy&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;total_increasing&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:solar-power-variant-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_DWORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Energy generation time total</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_energy_generation_time_total</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0017</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;h&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:timeline-clock&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_DWORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Energy today</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_energy_today</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0019</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;kWh&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;energy&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:solar-power-variant-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.01</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Energy generation time today</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_energy_generation_time_today</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x001A</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;min&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:timeline-clock&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Temprature module</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_temp_module</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x001B</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;°C&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;temperature&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:temperature-celsius&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; - throttle</span><span style="font-weight: bold; color: brown;">: </span>10min</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Temprature inverter</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_temp_inverter</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x001C</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;°C&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;temperature&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:temperature-celsius&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; - throttle</span><span style="font-weight: bold; color: brown;">: </span>30s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Bus voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_bus_voltage</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x001D</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;V&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;voltage&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-v-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - multiply</span><span style="font-weight: bold; color: brown;">: </span>0.1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> PV1+ isolation resistance</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_isolation_resistance1</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0024</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;Ohm&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:omega&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> PV2+ isolation resistance</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_isolation_resistance2</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0025</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;Ohm&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:omega&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>modbus_controller</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; modbus_controller_id</span><span style="font-weight: bold; color: brown;">: </span>sofarsolar</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> PV- isolation resistance</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_cathode_to_ground_impedance</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; register_type</span><span style="font-weight: bold; color: brown;">: </span>holding</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; address</span><span style="font-weight: bold; color: brown;">: </span>0x0026</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;Ohm&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:omega&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; value_type</span><span style="font-weight: bold; color: brown;">: </span>U_WORD</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>template</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> DC Power <span class="br0">&#40;</span>total<span class="br0">&#41;</span> &nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_power_total</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; lambda</span><span style="font-weight: bold; color: brown;">: </span>|-</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; return <span class="br0">&#40;</span>id<span class="br0">&#40;</span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_power2<span class="br0">&#41;</span>.state + id<span class="br0">&#40;</span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_dc_power1<span class="br0">&#41;</span>.state<span class="br0">&#41;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span>W</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; state_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;measurement&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;power&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; accuracy_decimals</span><span style="font-weight: bold; color: brown;">: </span>0</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:alpha-a-circle-outline&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>5s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>uptime</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_name<span class="br0">&#125;</span> Uptime</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>uptime_sensor</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; update_interval</span><span style="font-weight: bold; color: brown;">: </span>5s</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:clock-start&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; internal</span><span style="font-weight: bold; color: brown;">: </span>true</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; entity_category</span><span style="font-weight: bold; color: brown;">: </span>diagnostic</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; on_raw_value</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; &nbsp; then</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; &nbsp; &nbsp; - text_sensor.template.publish</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>uptime_human</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state</span><span style="font-weight: bold; color: brown;">: </span>!lambda |-</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int seconds = round<span class="br0">&#40;</span>id<span class="br0">&#40;</span>uptime_sensor<span class="br0">&#41;</span>.raw_state<span class="br0">&#41;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seconds = seconds <span style="font-weight: bold; color: red;">% (24 * 3600);</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int hours = seconds / 3600;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seconds = seconds <span style="font-weight: bold; color: red;">% 3600;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int minutes = seconds / &nbsp;60;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; seconds = seconds <span style="font-weight: bold; color: red;">% 60;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return <span class="br0">&#40;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (hours ? to_string(hours) + &quot;h &quot; </span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;&quot;</span><span class="br0">&#41;</span> +</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (minutes ? to_string(minutes) + &quot;m &quot; </span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;&quot;</span><span class="br0">&#41;</span> +</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#40;</span>to_string<span class="br0">&#40;</span>seconds<span class="br0">&#41;</span> + <span style="color: #CF00CF;">&quot;s&quot;</span><span class="br0">&#41;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#41;</span>.c_str<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>copy</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; source_id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_wifi_signal</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; id</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>esp_id<span class="br0">&#125;</span>_wifi_signal_hr</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;${friendly_node_name} WiFi %&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">&nbsp; &nbsp; filters</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; &nbsp; - lambda</span><span style="font-weight: bold; color: brown;">: </span>return min<span class="br0">&#40;</span>max<span class="br0">&#40;</span>2 * <span class="br0">&#40;</span>x + 100.0<span class="br0">&#41;</span>, 0.0<span class="br0">&#41;</span>, 100.0<span class="br0">&#41;</span>;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; unit_of_measurement</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;%&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; icon</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;mdi:wifi&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; device_class</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;signal_strength&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; entity_category</span><span style="font-weight: bold; color: brown;">: </span><span style="color: #CF00CF;">&quot;diagnostic&quot;</span></div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">switch</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>restart </div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> Restart</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;">&nbsp;</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: #007F45;">binary_sensor</span>:</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; - platform</span><span style="font-weight: bold; color: brown;">: </span>status</div></li>
<li style="font-weight: normal; vertical-align:top;"><div style="font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;"><span style="color: green;">&nbsp; &nbsp; name</span><span style="font-weight: bold; color: brown;">: </span>$<span class="br0">&#123;</span>friendly_node_name<span class="br0">&#125;</span> Status</div></li>
</ol></div>]]></content:encoded>
</item>
</channel>
</rss>
