Skip to content

Commit

Permalink
potential fix for missing devices
Browse files Browse the repository at this point in the history
  • Loading branch information
yusijs committed Feb 12, 2024
1 parent 5d07312 commit e7233ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entities/discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Config } from '../models/config';
const configTopic =
config.get<Config['mqtt']>('mqtt').topicPrefixes?.config ?? 'homeassistant';
const stateTopic =
config.get<Config['mqtt']>('mqtt').topicPrefixes?.config ?? 'homely';
config.get<Config['mqtt']>('mqtt').topicPrefixes?.state ?? 'homely';

// Capitalizes the first letter of a string to make device-names more human-readable
export const capitalize = (s: string) =>
Expand Down

0 comments on commit e7233ad

Please sign in to comment.