-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Description
When I tried to read the TARGET_HEATING_COOLING_STATE using the function
void target_state_setter(const homekit_value_t value) {
LOG_D("TARGET STATE SETTER: Got value INT: %d", value.int_value);
ac_target_state.value = value; //sync value
i received the folowing strange big values:
//TARGET STATE SETTER: Got value INT: 1073646336--off
//TARGET STATE SETTER: Got value INT: 1073646337--heat
//TARGET STATE SETTER: Got value INT: 1073646338--cool
//TARGET STATE SETTER: Got value INT: 1073646339--auto
instead of:
0: OFF
1: HEAT
2: COOL
3: AUTO
Metadata
Metadata
Assignees
Labels
No labels