Default Config - error - Infalid Config

Hi ,

i moved from a HA Docker install to HA OS on NUC. Now i have this error and i dont understand the issue ?

Can someone help me to understand - on the old installation i never had this error ?!?

Logger: homeassistant.config
First occurred: 15:20:08 (1 occurrences)
Last logged: 15:20:08

Invalid config for [script]: expected a dictionary. Got OrderedDict([('default_config', OrderedDict([('latitude', 50.0), ('longitude', 12.08), ('allowlist_external_dirs', ['/config', '/tmp'])])), ('logger', OrderedDict([('default', 'info'), ('logs', OrderedDict([('fritzconnection', 'warning')]))])), ('ios', {}), ('cloud', {}), ('samsungtv', [OrderedDict([('host', '')])]), ('sonos', OrderedDict([('media_player', OrderedDict([('hosts', ['', '', '', '', '', '192.168.12.... 
(See /config/configuration.yaml, line 60).

We need more information. Have you splitted your configuration, are you using packages or lists? How are you creating new scripts?