mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
38_netatmo: removed heating home/room autocreate
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17136 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
284b6f8e83
commit
8d3cbd6a28
1
CHANGED
1
CHANGED
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 38_netatmo: removed heating home/room autocreate
|
||||
- feature: 46_SmartPi: exchange commandref, add NotifyFn
|
||||
- new: 00_MQTT2_SERVER / 10_MQTT2_DEVICE
|
||||
- bugfix: 93_DbRep: fix in fetchrow function (forum:#89886),fix highlighting
|
||||
|
@ -11,7 +11,7 @@
|
||||
#
|
||||
#
|
||||
##############################################################################
|
||||
# Release 18 / 2018-06-25
|
||||
# Release 19 / 2018-08-14
|
||||
|
||||
package main;
|
||||
|
||||
@ -3025,11 +3025,13 @@ netatmo_autocreatethermostat($;$)
|
||||
$devname =~ s/:/_/g;
|
||||
my $define= "$devname netatmo RELAY $id";
|
||||
if( $device->{type} eq "Home" ) {
|
||||
next;
|
||||
$devname = "netatmo_E". $id;
|
||||
$devname =~ s/:/_/g;
|
||||
$define= "$devname netatmo HEATINGHOME $id";
|
||||
}
|
||||
elsif( $device->{type} eq "Room" ) {
|
||||
next;
|
||||
$devname = "netatmo_O". $id;
|
||||
$devname =~ s/:/_/g;
|
||||
$define= "$devname netatmo HEATINGROOM $device->{Home} $id";
|
||||
|
Loading…
x
Reference in New Issue
Block a user