Thermostats can have beliefs
Beliefs can reasonably be ascribed to an entity when its actions are consistent, the result of observation, and in accordance with goals. Because the behaviour of thermostats meet those criteria, it is reasonable to say they have beliefs.
John McCarthy (1979).
Notes: These are the criteria for beleif ascription that McCarthy mentions in connection with the thermostat example. He discusses further conditions elsewhere.