2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

Bugfix for disabled notify

git-svn-id: https://svn.fhem.de/fhem/trunk@57 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2007-05-01 06:44:59 +00:00
parent 92a3f268ed
commit 11d95285da
3 changed files with 8 additions and 4 deletions

View File

@ -324,6 +324,8 @@
- ==DATE== (4.1) - ==DATE== (4.1)
- doc: linux.html (private udev-rules, not 50-..., ATTRS) - doc: linux.html (private udev-rules, not 50-..., ATTRS)
- bugfix: setting devices with "-" in their name did not work - bugfix: setting devices with "-" in their name did not work
- doc: fhem.pl and commandref.html (notifyon -> notify, correction of examples) - doc: fhem.pl and commandref.html (notifyon -> notify, correction
of examples)
- feature: modify command added - feature: modify command added
- feature: The "-" in the name is not allowed any more - feature: The "-" in the name is not allowed any more
- bugfix: disabled notify causes "uninitialized value" (STefan, 1.5)

View File

@ -50,7 +50,7 @@ notify_Exec($$)
my ($log, $dev) = @_; my ($log, $dev) = @_;
my $ln = $log->{NAME}; my $ln = $log->{NAME};
return if($attr{$ln} && $attr{$ln}{disable}); return "" if($attr{$ln} && $attr{$ln}{disable});
my $n = $dev->{NAME}; my $n = $dev->{NAME};
my $re = $log->{REGEXP}; my $re = $log->{REGEXP};

View File

@ -1,4 +1,4 @@
#Tue Apr 24 09:13:44 2007 #Tue May 1 08:43:03 2007
setstate FHZ fhtbuf: 1c setstate FHZ fhtbuf: 1c
setstate FHZ 2006-02-12 14:03:39 fhtbuf 23 setstate FHZ 2006-02-12 14:03:39 fhtbuf 23
setstate FHZ 2006-03-26 08:47:36 init2 deadbeefdeadbe setstate FHZ 2006-03-26 08:47:36 init2 deadbeefdeadbe
@ -32,15 +32,17 @@ setstate fl 2006-03-26 08:50:55 unknown_85 4
setstate fl 2006-03-26 08:50:46 wed-from1 06:00 setstate fl 2006-03-26 08:50:46 wed-from1 06:00
setstate fl 2006-03-26 08:50:46 wed-to1 23:00 setstate fl 2006-03-26 08:50:46 wed-to1 23:00
setstate fl 2006-03-26 08:50:55 windowopen-temp 12.0 (Celsius) setstate fl 2006-03-26 08:50:55 windowopen-temp 12.0 (Celsius)
setstate floor.lamp ???
setstate global <no definition> setstate global <no definition>
setstate marqee on setstate marqee on
setstate marqee 2006-04-01 12:46:02 state on setstate marqee 2006-04-01 12:46:02 state on
setstate n_btn4 active setstate n_btn4 disabled
setstate tf1 T: 20.3 H: 31.3 Bat: ok setstate tf1 T: 20.3 H: 31.3 Bat: ok
setstate tf1 2006-04-11 09:48:48 battery Bat: ok setstate tf1 2006-04-11 09:48:48 battery Bat: ok
setstate tf1 2006-04-11 09:48:48 humidity 31.3 (%) setstate tf1 2006-04-11 09:48:48 humidity 31.3 (%)
setstate tf1 2006-04-11 09:48:48 temperature 20.3 (Celsius) setstate tf1 2006-04-11 09:48:48 temperature 20.3 (Celsius)
setstate tf1 2006-04-11 09:48:48 type HMS100TF setstate tf1 2006-04-11 09:48:48 type HMS100TF
setstate window.lamp ???
setstate wz measured-temp: 22.4 (Celsius) setstate wz measured-temp: 22.4 (Celsius)
setstate wz 2006-03-29 23:04:17 actuator 00% setstate wz 2006-03-29 23:04:17 actuator 00%
setstate wz 2006-03-26 08:52:30 day-temp 22.0 (Celsius) setstate wz 2006-03-26 08:52:30 day-temp 22.0 (Celsius)