Landlords are required to give the tenant advance notice of at least 24-48 hours before entering. Regardless of whatever the reason is, the landlord should obey this rule. If the state specifies no time period, a reasonable notice before entry is acceptable.