viet-robot-appliance-controller
A small rule-based helper that suggests simple actions for basic appliances (fan, AC, light, dehumidifier) based on temperature, humidity and time of day.
Function:
decide_appliance_action(appliance: str, temp_c: float, humidity_pct: float, time_hour: int) -> ApplianceDecision
Returns a suggested_action and a short English reason.
License
MIT