mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-07 23:19:14 +00:00
test(smoke): mark cover controller available
Keep the cover-precedence scenario focused on target state mirroring by explicitly providing a live own entity after #251 separated controller availability from target availability. Issue: #251 User-Visible: no
This commit is contained in:
@@ -112,9 +112,13 @@ const out = await page.evaluate(async () => {
|
||||
id: 'p_remote', primary: 'sensor.remote', entities: ['sensor.remote'], tapAction: null,
|
||||
marker: { id: 'p_remote', binding: 'device:y', controls: ['light.hall'] },
|
||||
};
|
||||
o.remoteMirrorsItsControls = withStates({ 'light.hall': st('on', {}) },
|
||||
o.remoteMirrorsItsControls = withStates({
|
||||
'sensor.remote': st('online', {}), 'light.hall': st('on', {}),
|
||||
},
|
||||
() => c._stateClass(remote)) === 'on';
|
||||
o.remoteOffIsNeutral = withStates({ 'light.hall': st('off', {}) },
|
||||
o.remoteOffIsNeutral = withStates({
|
||||
'sensor.remote': st('online', {}), 'light.hall': st('off', {}),
|
||||
},
|
||||
() => c._stateClass(remote)) === '';
|
||||
// a curtain marker with controls that are OFF is still just a curtain
|
||||
o.controlledOffStillRings = withStates({
|
||||
|
||||
Reference in New Issue
Block a user