Zone activated Light/Device with Lux condition
Here is a flow that lets you control a light or other device, based on the lux of a sensor, when a zone detects motion.
The light or device are only turned on/off when it’s not yet on/off.
Just replace the items with your own:
Required App
TEF:
H4sIAAAAAAACA7VWS5PbNgz+KzuaHJcpnyKpa3vM9NDuqR2PByRBW1Nb8sjyJunW/72gbO/a2abRbNODTVLC4wPwAdRT9Wff4f6h/wV3G4hYNU+VsoBCyZqBs4JpB8B8iJFJGVKSNZdWTnIdbGmtfiMDdz+X/fF4X6XyxgTjpNWGKW4d095k5r2jnTLKA3KskU8WSP1X7Pb9UN1XkQ79uMayH8vbLcL+MOByc9i2HXQncEXlw/ODSbLqDttAasfi37ooFEbJjDXANCIyr5JkAoOXOViRrX+2067W443nYmHy3W3eZ9xs+o8dju/jeui7fjXAbn1R/fHqUVGCqvn9qWrpTRZZ1SlaBjxbppNTzHPrCxQXlOcCUJHP7pI5iGP7CCOmuwnODz/hYxvx7mM7ru8+HD7dxb5L7dj2HSlRBsbhgBPipypbyIK7xHRA8qRkIk/BMRvB1VEIL7Eucp+qRmt+X32mlZb+MO4O4wPZIcyVxbpW0QNzSQQCGQTzqGuWjIrB2pQVGVmQFuFd91v83GyhgxUOzaZftZFAlaA347kU12ihOI/9dgcDjFTiRhhyv3yXhn439n9g9275bDRNUTdziPPXa16UCkSbo45SsAiJMy1VZD5xzSAHqU3wget0zoa/zsYzBNjtmq+W/RTm2G5xWO7HfncOtxTvJdZzQzwUqQlTXRupBWoWfB0piGiYy+iYCJYOqc5RXCpEDXcCJeQNqnNiZtH6BHLCcwWOcHBAtNlzFlXWhCMHBj4E5gzPVGXDjcYLU04o5G1uypBoZs2FEwaqS6H1pUHHoV2tpsbeF86h08nXpSeAOKu1lYyOgVn6T7XPyXpXLQi3DzL6KCTjyVBNNTlzNS/ESE4onRG1u8Wt6rfVNLddu19j+hpgHoL0iqGyhCNoz1xEyQJwE70KDjiUJvlnFmhbA5XdM2lK7QIGRj9HJZA8JFTCObiN4r8l/99SP2tmlNRrh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