mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
update darkness reward
This commit is contained in:
@@ -317,7 +317,7 @@ export default function KeyboardInputManager() {
|
||||
(targetState) => {
|
||||
const ha = session?.homeAssistant;
|
||||
if (!ha?.enabled || !ha?.connected) return;
|
||||
if (ha?.lightPolicy?.lockedOn) return;
|
||||
if (ha?.lightPolicy?.locked || ha?.lightPolicy?.lockedOn) return;
|
||||
const entities = ha.entities || [];
|
||||
const eligible = entities.filter(
|
||||
(ent) =>
|
||||
|
||||
Reference in New Issue
Block a user