Misc. fixes, mostly for derived clusters (#1084)
* Misc. fixes, mostly for derived clusters
Fixes for derived clusters:
- Generates the "Features" enum for base clusters.
- Adds "as const" to Base definition for derived clusters to properly carry types.
- Fixes derived clusters that have elements present. Previously we only included overridden elements for these clusters.
- Extends cluster name character whitelist to include "." so "PM 2.5 measurement" is named correctly.
Other fixes:
- Do not use cached behavior supervisor from base class; always generate for current class. This caused confusing bugs because instantiating a behavior after instantiating a base behavior would cause conformance etc. to incorrectly use the base schema.
- Fixes a couple of breaking codegen bug introduced by previous refactor.
- Fixes minor delimiter bug in TS generator.
* Make really long lines
To make prettier happy
* Move ServerNode teardown to correct location
Co-authored-by: Ingo Fischer <github@fischer-ka.de>
---------
Co-authored-by: Ingo Fischer <github@fischer-ka.de>