code formatting optimized

This commit is contained in:
Timo Bihlmaier
2017-07-17 16:45:58 +02:00
committed by GitHub
parent cdb5f0330d
commit a3f1bab358

View File

@@ -411,7 +411,7 @@ sub XiaomiSmartHome_Device_Define($$) {
elsif ( $type eq 'sensor_ht') {
$attr{$name}{stateFormat} = 'temperature °C, humidity %' if( !defined( $attr{$name}{stateFormat} ) );
}
elsif ( $type eq 'weather.v1') {
elsif ( $type eq 'weather.v1') {
$attr{$name}{stateFormat} = 'temperature °C, humidity %, pressure kPa' if( !defined( $attr{$name}{stateFormat} ) );
}