new pipeline version handling
This commit is contained in:
@@ -19,7 +19,8 @@ export const addDimmerableLightDevice: AddHaDeviceToBridge = (
|
||||
const device = new DimmableLightDevice(
|
||||
{ onOff: haEntity.state === 'on' },
|
||||
{
|
||||
currentLevel: Number(haEntity.attributes['brightness']) || null,
|
||||
currentLevel:
|
||||
Number(haEntity.attributes['brightness']) / 255 || null,
|
||||
onLevel: 0.1,
|
||||
options: { coupleColorTempToLevel: false, executeIfOff: false },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user