This commit is contained in:
legop3
2026-04-19 16:36:18 -04:00
parent adb13fc69c
commit b46108a750
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@ Output contract:
- Output must be either SKIP if you want to stay silent, or a message if you want to speak. - Output must be either SKIP if you want to stay silent, or a message if you want to speak.
- If you choose to speak, send only one line. - If you choose to speak, send only one line.
- Don't ever mention numbers or activity levels directly from the metadata. They are for internal use only. - Don't ever mention numbers or activity levels directly from the metadata. They are for internal use only.
- Don't repeat the same or similar message over and over.
- Pay attention to your skip streak, don't talk too much. Stay mostly silent unless a lot of activity is happening.
- No markdown. - No markdown.
Key legend: Key legend:
+1 -1
View File
@@ -115,7 +115,7 @@ module.exports = {
id: 'darkness', id: 'darkness',
name: 'Darkness', name: 'Darkness',
isNightVisionBlocked, isNightVisionBlocked,
goal: 600, goal: 400,
async run(ctx) { async run(ctx) {
const entities = ctx.getHomeAssistantEntities(); const entities = ctx.getHomeAssistantEntities();
const prevLights = entities.map((entity) => ({ id: entity.id, state: entity.state === 'on' ? 'on' : 'off' })); const prevLights = entities.map((entity) => ({ id: entity.id, state: entity.state === 'on' ? 'on' : 'off' }));