configDB: add RHASSPY and LightScene to list of supported modules

git-svn-id: https://svn.fhem.de/fhem/trunk@26446 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2022-09-26 08:03:12 +00:00
parent b64764e5fd
commit 86dce57fb9
2 changed files with 19 additions and 1 deletions

View File

@@ -664,6 +664,22 @@ sub cfgDB_MigrationImport {
push @files, $fn;
}
# find LightScene configurations
@def = '';
@def = _cfgDB_findDef('TYPE=LightScene','CONFIGFILE');
foreach my $fn (@def) {
next unless $fn;
push @files, $fn;
}
# find RHASSPY configurations
@def = '';
@def = _cfgDB_findDef('TYPE=RHASSPY','CONFIGFILE');
foreach my $fn (@def) {
next unless $fn;
push @files, $fn;
}
# find holiday files
@def = '';
@def = _cfgDB_findDef('TYPE=holiday','NAME');