This commit is contained in:
legop3
2026-09-14 13:04:41 -04:00
parent 6edb6f6dd0
commit 0266bd9568
13 changed files with 175 additions and 21 deletions
@@ -6,7 +6,9 @@ const { strictObject, string, boolean } = require('../../configuration/schemaHel
module.exports = {
key: 'neato',
feature: true,
defaultValue: { enabled: false, device: '' },
// Keeping the example device in the saved template explains the required
// ESPHome naming shape while `enabled: false` prevents accidental control.
defaultValue: { enabled: false, device: 'neato_vacuum' },
schema: strictObject({
enabled: boolean({ description: 'Exposes Neato status and commands through the configured Home Assistant ESPHome device after restart.' }),
device: string({ description: 'ESPHome device name used to derive the Neato entity IDs in Home Assistant; punctuation is normalized to underscores.', examples: ['neato_vacuum'], maxLength: 255 }),