athom-tech / athom-configs

Athom Technology Official Center
MIT License
199 stars 129 forks source link

Major Rewrite #67

Closed dexn closed 3 months ago

dexn commented 3 months ago

I split the YAML files up to share common settings (base.yaml). I believe this will help to keep devices consistent with common settings.

I also split the fast_boot factory reset script (fast_boot.yaml & fast_boot_light.yaml) and added it to most other devices (except wall switches). This is so it can be reset if the button can't be accessed for some reason.

I had to add and change some id's for the base.yaml to work with the modified device yaml files.

I also took https://github.com/athom-tech/athom-configs/pull/66 and mashed it with this. Hopefully it works.

Roving-Ronin commented 3 months ago

@dexn

Just raised doing this a few days ago, and got shot down. Believe the view was that having full config in each file made it easier for newbies to work out how it works / how to create their own versions. Do it myself though for my own devices (still have to do the garage / kincony) when I get a moment. https://github.com/Roving-Ronin/myHomeAssistant/tree/main/esphome

dexn commented 3 months ago

@Roving-Ronin

I'll see what @tarontop says after I've fixed my mistake and make a re-request.

dexn commented 3 months ago

Noticed that substitutions don't show as merged in the config after onboarding.

Roving-Ronin commented 3 months ago

@dexn BTW have a look at my Pull Request. You might like that it adds Energy senors for Energy Total Today / Yesterday / Week / Month and the existing 'Total' (since it was flashed last). A bit more useful than 'Energy' (with no definition as to since when / how long) and Total, that are in the current code.

https://github.com/athom-tech/athom-configs/pull/66