mmattel / EET-Solmate

Integrate EET SolMate with Homeassistant using MQTT (read AND write!)
Apache License 2.0
8 stars 1 forks source link

occurrences of existing solmate entries in crontab/root file are not deleted #40

Closed axcro7 closed 6 months ago

axcro7 commented 6 months ago

https://github.com/mmattel/EET-Solmate/blob/9b06b314cc40cdc5add6d6fc7d2f90b383f29789/crond-prepare#L23C1-L23C49

# delete any occurrences of existing solmate entries in teh crontab/root file
sed -i "/\/config\/solmate/d" /etc/crontabs/root

this removes entries with /config/solmate but not /config/shell/solmate

maybe it would be a good idea to look for SCRIPT_DIR instead of this hardcoded path?

mmattel commented 6 months ago

Fixed mit: https://github.com/mmattel/EET-Solmate/releases/tag/v4.1.0

Closing therefore

mmattel commented 5 months ago

Info: https://github.com/mmattel/EET-Solmate/discussions