patch-codeRewrite #88
| @@ -1,11 +1,11 @@ | |||||||
| UPD 2022-01-01_20:15:38 115601 FHEM/73_AutoShuttersControl.pm | UPD 2022-01-01_20:15:38 115601 FHEM/73_AutoShuttersControl.pm | ||||||
| UPD 2022-01-02_06:41:53 75212 lib/FHEM/Automation/ShuttersControl.pm | UPD 2022-01-02_07:04:23 75300 lib/FHEM/Automation/ShuttersControl.pm | ||||||
| UPD 2022-01-02_06:39:39 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm | UPD 2022-01-02_06:39:39 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm | ||||||
| UPD 2022-01-02_06:34:39 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm | UPD 2022-01-02_06:34:39 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm | ||||||
| UPD 2022-01-02_06:41:11 32018 lib/FHEM/Automation/ShuttersControl/Shutters.pm | UPD 2022-01-02_07:04:24 32028 lib/FHEM/Automation/ShuttersControl/Shutters.pm | ||||||
| UPD 2022-01-02_06:37:09 25452 lib/FHEM/Automation/ShuttersControl/Shading.pm | UPD 2022-01-02_06:37:09 25452 lib/FHEM/Automation/ShuttersControl/Shading.pm | ||||||
| UPD 2022-01-02_06:36:31 112122 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | UPD 2022-01-02_06:36:31 112122 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm | ||||||
| UPD 2022-01-02_06:34:28 40322 lib/FHEM/Automation/ShuttersControl/Helper.pm | UPD 2022-01-02_07:04:20 40382 lib/FHEM/Automation/ShuttersControl/Helper.pm | ||||||
| UPD 2022-01-02_06:41:32 2209 lib/FHEM/Automation/ShuttersControl/Window.pm | UPD 2022-01-02_06:41:32 2209 lib/FHEM/Automation/ShuttersControl/Window.pm | ||||||
| UPD 2022-01-01_20:15:38 11706 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm | UPD 2022-01-01_20:15:38 11706 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm | ||||||
| UPD 2022-01-01_20:15:38 7265 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm | UPD 2022-01-01_20:15:38 7265 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm | ||||||
|   | |||||||
| @@ -139,6 +139,12 @@ eval { | |||||||
| ## Import der FHEM Funktionen | ## Import der FHEM Funktionen | ||||||
| #-- Run before package compilation | #-- Run before package compilation | ||||||
| BEGIN { | BEGIN { | ||||||
|  |     ## 2 Objekte werden erstellt | ||||||
|  |     our $shutters = FHEM::Automation::ShuttersControl::Shutters->new(); | ||||||
|  |     our $ascDev   = FHEM::Automation::ShuttersControl::Dev->new(); | ||||||
|  |  | ||||||
|  |     use Exporter qw(import); | ||||||
|  |     our @EXPORT_OK = qw / $shutters $ascDev /; | ||||||
|  |  | ||||||
|     # Import from main context |     # Import from main context | ||||||
|     GP_Import( |     GP_Import( | ||||||
| @@ -269,10 +275,6 @@ my %posSetCmds = ( | |||||||
|     EnOcean     => 'position', |     EnOcean     => 'position', | ||||||
| ); | ); | ||||||
|  |  | ||||||
| ## 2 Objekte werden erstellt |  | ||||||
| our $shutters = FHEM::Automation::ShuttersControl::Shutters->new(); |  | ||||||
| our $ascDev   = FHEM::Automation::ShuttersControl::Dev->new(); |  | ||||||
|  |  | ||||||
| sub ascAPIget { | sub ascAPIget { | ||||||
|     my $getCommand = shift; |     my $getCommand = shift; | ||||||
|     my $shutterDev = shift; |     my $shutterDev = shift; | ||||||
|   | |||||||
| @@ -88,6 +88,8 @@ our %EXPORT_TAGS = ( | |||||||
|     ], |     ], | ||||||
| ); | ); | ||||||
|  |  | ||||||
|  | use FHEM::Automation::ShuttersControl '$shutters $ascDev'; | ||||||
|  |  | ||||||
| use GPUtils qw(GP_Import); | use GPUtils qw(GP_Import); | ||||||
| ## Import der FHEM Funktionen | ## Import der FHEM Funktionen | ||||||
| BEGIN { | BEGIN { | ||||||
|   | |||||||
| @@ -51,7 +51,7 @@ use utf8; | |||||||
|  |  | ||||||
| use FHEM::Automation::ShuttersControl::Shutters::Readings; | use FHEM::Automation::ShuttersControl::Shutters::Readings; | ||||||
| use FHEM::Automation::ShuttersControl::Shutters::Attr; | use FHEM::Automation::ShuttersControl::Shutters::Attr; | ||||||
| use FHEM::Automation::ShuttersControl::Roommate; | use FHEM::Automation::ShuttersControl::Roommate qw (:ALL); | ||||||
| use FHEM::Automation::ShuttersControl::Window; | use FHEM::Automation::ShuttersControl::Window; | ||||||
|  |  | ||||||
| use base | use base | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user