func (d *PebbleDriver) SendNotification(message string) string {
	d.Messages = append(d.Messages, message)
	return message
}
SendNotification appends message to list of notifications to be sent to watch
package pebble
import (
	"github.com/hybridgroup/gobot"
)
type PebbleDriver struct {
	name       string
	connection gobot.Connection
	gobot.Commander
	gobot.Eventer
	Messages []string
}
func NewPebbleDriver(adaptor *PebbleAdaptor, name string) *PebbleDriver {
	p := &PebbleDriver{
		name:       name,
		connection: adaptor,
		Messages:   []string{},
		Eventer:    gobot.NewEventer(),
		Commander:  gobot.NewCommander(),
	}
	p.AddEvent("button")
	p.AddEvent("accel")
	p.AddEvent("tap")
	p.AddCommand("publish_event", func(params map[string]interface{}) interface{} {
		p.PublishEvent(params["name"].(string), params["data"].(string))
		return nil
	})
	p.AddCommand("send_notification", func(params map[string]interface{}) interface{} {
		p.SendNotification(params["message"].(string))
		return nil
	})
	p.AddCommand("pending_message", func(params map[string]interface{}) interface{} {
		return p.PendingMessage()
	})
	return p
}
func (d *PebbleDriver) Name() string                 { return d.name }
func (d *PebbleDriver) Connection() gobot.Connection { return d.connection }
func (d *PebbleDriver) Start() (errs []error) { return }
func (d *PebbleDriver) Halt() (errs []error) { return }
func (d *PebbleDriver) PublishEvent(name string, data string) {
	d.Publish(d.Event(name), data)
}