diff --git a/core/class/AbeilleCmdProcess.class.php b/core/class/AbeilleCmdProcess.class.php index 7e7c5faf82..465b2168c9 100755 --- a/core/class/AbeilleCmdProcess.class.php +++ b/core/class/AbeilleCmdProcess.class.php @@ -230,10 +230,12 @@ function formatAttribute($valIn, $type) { case '10': case '18': // map8 case '20': // uint8 + case '30': // enum8 $valOut = sprintf("%02X", $valIn); break; case 'uint16': case '21': + case '31': // enum16 $valOut = sprintf("%04X", $valIn); break; case 'uint24': diff --git a/docs/fr_FR/Changelog.rst b/docs/fr_FR/Changelog.rst index 3543ad91ae..02f3d93f38 100644 --- a/docs/fr_FR/Changelog.rst +++ b/docs/fr_FR/Changelog.rst @@ -14,6 +14,7 @@ ChangeLog - 'TRADFRIbulbE27WSopal1000lm' => 'Ikea-BulbE27', - 'TRADFRIbulbE27WW806lm' => 'Ikea-BulbE27', - Interne: Cmd: Mise-à-jour formatAttribute(). +- Interne: Cmd: Correction formatAtrtibute() pour type 0x30/enum8. 231127-BETA-3 -------------