2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

39_alexa.pm: added Meta information

git-svn-id: https://svn.fhem.de/fhem/trunk@18907 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2019-03-14 20:37:43 +00:00
parent 899453ecda
commit 75790334b1

View File

@ -5,6 +5,7 @@ package main;
use strict;
use warnings;
use FHEM::Meta;
use CoProcess;
@ -57,6 +58,8 @@ alexa_Initialize($)
$hash->{FW_detailFn} = "alexa_detailFn";
$hash->{FW_deviceOverview} = 1;
return FHEM::Meta::InitMod( __FILE__, $hash );
}
#####################################
@ -115,6 +118,10 @@ alexa_Define($$)
my @a = split("[ \t][ \t]*", $def);
return $@ unless ( FHEM::Meta::SetInternals($hash) );
#our $VERSION = FHEM::Meta::Get( $hash, 'version' );
#Log 1, $VERSION;
return "Usage: define <name> alexa" if(@a != 2);
my $name = $a[0];
@ -1312,4 +1319,60 @@ alexa_Attr($$$)
</ul><br>
=end html
=for :application/json;q=META.json 39_alexa.pm
{
"abstract": "Module to control the FHEM/Alexa integration",
"x_lang": {
"de": {
"abstract": "Modul zur Konfiguration der FHEM/Alexa Integration"
}
},
"keywords": [
"fhem-mod",
"fhem-mod-device",
"alexa",
"alexa-fhem",
"nodejs",
"node"
],
"release_status": "stable",
"x_fhem_maintainer": [
"justme1968"
],
"x_fhem_maintainer_github": [
"justme-1968"
],
"prereqs": {
"runtime": {
"requires": {
"FHEM": 5.00918799,
"perl": 5.014,
"Meta": 0,
"CoProcess": 0,
"JSON": 0,
"Data::Dumper": 0
},
"recommends": {
},
"suggests": {
}
}
},
"x_prereqs_nodejs": {
"runtime": {
"requires": {
"node": 8.0,
"alexa-fhem": 0
},
"recommends": {
},
"suggests": {
}
}
}
}
=end :application/json;q=META.json
=cut