import "github.com/muesli/beehive/bees/sunbee"
Package sunbee is a bee that sends sunrise/sunset event based on the selected location.
SunBee is a Bee that alerts you when the sun goes up/down.
Action triggers the action passed to it.
func (mod *SunBee) ReloadOptions(options bees.BeeOptions)
ReloadOptions parses the config options and initializes the Bee.
Run executes the Bee's event loop.
type SunBeeFactory struct { bees.BeeFactory }
SunBeeFactory is a factory for SunBees.
func (factory *SunBeeFactory) Description() string
Description returns the description of this Bee.
func (factory *SunBeeFactory) Events() []bees.EventDescriptor
func (factory *SunBeeFactory) ID() string
ID returns the ID of this Bee.
func (factory *SunBeeFactory) Image() string
Image returns the filename of an image for this Bee.
func (factory *SunBeeFactory) Name() string
Name returns the name of this Bee.
func (factory *SunBeeFactory) New(name, description string, options bees.BeeOptions) bees.BeeInterface
New returns a new Bee instance configured with the supplied options.
func (factory *SunBeeFactory) Options() []bees.BeeOptionDescriptor
Options returns the options available to configure this Bee.
Package sunbee imports 7 packages (graph) and is imported by 2 packages. Updated 2020-06-18. Refresh now. Tools for package owners.