Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes 4 changes, in 4 commits:
add debug log for mcu time request
While debugging time-related issues, I had the need to validate that the MCU was actually requesting and receiving the correct time.
This is already logged by the
VERBOSE
level, but keeping the log open for ~1 hour to catch the MCU requesting this will eat memory+cpu on the browser very quickly.Just adding it on the
DEBUG
level seems useful to have. I can separate / remove this part from the PR if you want.mmgg.feeder.fi1
changescontrycode
(Siid: 9, Piid: 13) parameter, making the scheduler not work. This initializes it with a known good value. Fixes Smart feeder pending feed plan #39 .phon_time_zone
timezone offset parameter. I experimented a few iterations to make the auto-adjustment optional, but in the end decided it's not worth it.auto_dst_timezone
substitution. I tried exposing this as a text component, but at runtime, ESPHome can only handle explicit declarations in the formEET-2EEST,M3.5.0/3,M10.5.0/4
instead of human-readableEurope/Bucharest
that are available at compile time. This means that while we could change the TZ at runtime, it would be cumbersome, and let's be honest, how often do people change timezones without some change to their smart home config? :)phon_time_zone
becomes a read-only diagnostic sensor. Allowing a manual override would mean adding a switch for "Auto-DST" logic, and since the timezone is not easily runtime-changeable, again, there is little benefit for the added complexity.phon_time_zone
, seeing as there's aset-phone-time-zone
action, as well as the property itself being writeable, there might be some slight differences that could explain the weird behavior described.