mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
00_MAXLAN: set time on cube if it has none (by Tom_S)
git-svn-id: https://svn.fhem.de/fhem/trunk@9234 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8b109617e9
commit
f3fc7beeb6
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 00_MAXLAN: set time on cube if it has none (by Tom_S)
|
||||||
- bugfix: 14_CUL_MAX: work together with a-culfw
|
- bugfix: 14_CUL_MAX: work together with a-culfw
|
||||||
- bugfix: 70_PushNotifier: bugfix regex deviceID
|
- bugfix: 70_PushNotifier: bugfix regex deviceID
|
||||||
- feature: new Module 74_AMAD to request Information and control Android
|
- feature: new Module 74_AMAD to request Information and control Android
|
||||||
|
@ -173,7 +173,7 @@ MAXLAN_Connect($)
|
|||||||
#At the end, the cube sends a "L:"
|
#At the end, the cube sends a "L:"
|
||||||
|
|
||||||
#Handle deferred setting of time
|
#Handle deferred setting of time
|
||||||
if(AttrVal($hash->{NAME},"set-clock-on-init","1") && $hash->{cubeTimeDifference} > 1) {
|
if(AttrVal($hash->{NAME},"set-clock-on-init","1") && ($hash->{cubeTimeDifference} > 1 || !$hash->{clockset})) {
|
||||||
MAXLAN_Set($hash,$hash->{NAME},"clock");
|
MAXLAN_Set($hash,$hash->{NAME},"clock");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user