In the 2020 NEC it states "706.5 Listing. Energy storage systems shall be listed." That tells me that the system must be listed, but does not specifically call out UL9540. It only calls out UL9540 under 706 "Informational Note No. 3: The following standards are frequently referenced for the installation of energy storage systems:"
UL1642 is a listing that specifically covers "avoiding the risk of fire or explosion when lithium-ion batteries are working in a product".
From what I can find online "Certification of an energy storage system to UL 9540 is currently not required in most jurisdictions in the United States. However, the California building code has adopted International Residential Code (IRC), which requires UL 9540 for ESS." I assume this also applies to your first comment about the 3ft limit and UL9540A, that's in the IRC?
My question on this thread is related directly to Canadian code, and the UL9540 requirement. It appears all residential ESS must be listed to 9540 in the Canadian code? It's odd cause from what I've seen the Canadian code tends to lag behind the NEC, seems weird they would have a requirement that just came around in CA's most recent IRC...